.home-page {
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
  transition: all 0.3s ease;
}

.home-page.dark {
  background: linear-gradient(120deg, #2d3748 0%, #4a5568 100%);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.dark .container {
  background: #2d3748;
  color: #e2e8f0;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
  font-size: 2rem;
}

.dark h1 {
  color: #e2e8f0;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.dark .stats-bar {
  background: #4a5568;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.dark .stat-number {
  color: #e2e8f0;
}

.stat-number.overdue {
  color: #ff6b6b;
}

.stat-number.high-priority {
  color: #ff6b6b;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 4px;
}

.dark .stat-label {
  color: #a0aec0;
}

.search-section {
  margin-bottom: 20px;
}

.search-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #eee;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.dark .search-input {
  background: #4a5568;
  border-color: #718096;
  color: #e2e8f0;
}

.search-input:focus {
  outline: none;
  border-color: #fda085;
}

.controls-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  gap: 15px;
  flex: 1;
}

.filter-select,
.sort-select {
  padding: 10px;
  border: 2px solid #eee;
  border-radius: 6px;
  font-size: 1rem;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.3s ease;
  flex: 1;
  min-width: 150px;
}

.dark .filter-select,
.dark .sort-select {
  background: #4a5568;
  border-color: #718096;
  color: #e2e8f0;
}

.filter-select:focus,
.sort-select:focus {
  outline: none;
  border-color: #fda085;
}

.view-options {
  display: flex;
  align-items: center;
}

.show-completed-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
  user-select: none;
}

.dark .show-completed-toggle {
  color: #e2e8f0;
}

.show-completed-toggle input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #fda085;
}

.todo-list-section {
  margin-top: 20px;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.dark .list-header {
  border-color: #4a5568;
}

.list-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dark .list-header h3 {
  color: #e2e8f0;
}

.task-count {
  font-size: 0.9rem;
  font-weight: normal;
  color: #666;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 12px;
}

.dark .task-count {
  color: #a0aec0;
  background: #4a5568;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
  }
  
  .controls-section {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .filters {
    flex-direction: column;
    gap: 10px;
  }
  
  .filter-select,
  .sort-select {
    min-width: unset;
  }
  
  .list-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 20px;
    margin: 10px;
  }
} 